﻿using System.ComponentModel.DataAnnotations;

namespace WMS_Goodsinfo.Api.Read.DTOS
{
    public class BatchListDto
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        [Required]
        public string ProductNo { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [Required]
        public string ProductName { get; set; }
        /// <summary>
        /// 货品类型(下拉选择)
        /// </summary>
        public string ProductTypeId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string ProductModel { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        ///  条形码
        /// </summary>
        public string Barcode { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string Inventory { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int Current_Inventory { get; set; }
        /// <summary>
        /// 库存金额
        /// </summary>
        public decimal TotalMoeny { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime Productiondate { get; set; }
        /// <summary>
        /// 到期日期
        /// </summary>
        public DateTime Expirationdate { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Shelflifedays { get; set; }
        /// <summary>
        /// 剩余天数
        /// </summary>

        public int Remainingdays { get; set; }
        /// <summary>
        /// 预警天数
        /// </summary>
        public int Alertdays { get; set; }
    }
}
